package com.dmall.netty.chapter02.section24.aio;

public class TimeServer {

	public static void main(String[] args) {
		int port = 8080;
		if (args != null && args.length > 0) {
			try {
				port = Integer.valueOf(port);
			} catch (Exception e) {
				
			}
		}
		
		AsyncTimeServerHandler timeServer = new AsyncTimeServerHandler(port);
		new Thread(timeServer, "AIO-AysncTimeServerHandler-001").start();;
	}
}
